package com.kzw.oa.comm.model;

/**
 * 业务编号：<br/>
 * 例如：JC201605XXXXX<br/>
 * 每月编号从00001开始
 * */
public class SerialNumber {

	private Long oid;
	// 业务类型
	private String cateKey;
	// 前缀
	private String prefix = "";
	// 年份
	private int year;
	// 月份
	private int month;
	// 当前最大流水号
	private int maxSn;

	public Long getOid() {
		return oid;
	}

	public void setOid(Long oid) {
		this.oid = oid;
	}

	public String getCateKey() {
		return cateKey;
	}

	public void setCateKey(String cateKey) {
		this.cateKey = cateKey;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getMaxSn() {
		return maxSn;
	}

	public void setMaxSn(int maxSn) {
		this.maxSn = maxSn;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

}
